<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${this[0].getText("project_name")}</title>
<link type="text/css" href="${base}/static/css/style.css" rel="stylesheet" rev="stylesheet" />
<script type="text/javascript" src="${base}/static/js/jquery.js"></script>
</head>

<body id="header">

<div class="navigation">
	<h1>${this[0].getText("project_name")}</h1>
	<div class="nav_top">
		<a href="#" onclick="modify()">修改资料</a> | 
		<a href="#" onclick="add()">新增用户</a>
		<a href="${base}/j_spring_security_logout" class="btn"  target="_blank">退出</a>
	</div>
	<div class="user_info">
		<p>当前用户：${currentUser.name!}</p>
	</div>
	<ul class="nav_main">
		<li class="current"><a href="${base}/content" rel="2">功能管理首页</a></li>
	</ul>
	<ul class="nav_sub"></ul>
</div><!-- navigation -->

<script type="text/javascript">
$('.nav_main a').click(function(){
	window.parent.frames[2].location = this.href;
	return false;
});


$(function(){
    window.onresize = function(){
    	var side = window.parent.frames[1];
    	side.getSideObj().height(side.getWindowHeight() - 12);
    };
});

function modify() {
	window.parent.frames[2].location = "${base}/user/edit?user.id=${(currentUser.id)!}"
	return false;
}

function add() {
	window.parent.frames[2].location = "${base}/user/add";
	return false;
}


</script>

</body>
</html>
